solved bug on badLogin