fixing mail template