Fix resetting