fixed some of the email output