fixes signout failure