fix email variable