fixed reset button bug on registration page