Fix confirm email bug