some login fix