fix duplicate welcome email bug