minor bugfix on save/reset button