fix reset button error