sms template view page fix