repairs all the damage done in previous commits