fix bug with singly login errors