fix changepassword bug