fixed multiple password reset bug