reset correctly