formatting of sms.ctp