fix a issue when send invite email