house in order, getting (one’s)
making sure that (one’s) affairs are under control and that there is nothing wrong.