fix warn on login