repaired error that occur when miss login