fiexed login is null bug