fixed crash, login errors