tidy up the reset