SMS fix when creating SMS from template