to rights
Into correct or proper position, arrangement, condition, or order. (Especially in the phrase "put/set (something) to rights.") I must make sure I put the house to rights before my parents come home this evening. Since being diagnosed with terminal cancer, I've begun setting my will and financial affairs to rights.
to rights
In a satisfactory or orderly condition: set the place to rights.