fix login form error