fixed error preventing login