bug in mail template