stopped the flicker during login