fix confirm email bug