fix email issue