fix little bug in sending email