Removed extra resets.