fixed error when email password