bugfix (reset button behavior)