Fix email verification bug