LD flag is now removed on logging in