put/set something to rights - definition and synonyms

phrase
  1. to make something go back to its normal state again

    We’ll have to put the place to rights before they get back.

    See also world
See also main entry: right