fix login ui display problem