fix email confirmation error