more precautions for resetting