Fix error on first login.