debugging the reset with validation