fixed a bug in forgot password