bugfix to html email template