fix display before login