fixed a bug where recover password does not work.