fixed email template error