small bug fix for recover password