change email template
fix logic display