correct login bug