reset button should be working better