fix login page glitches.