fix sns_subject_template check