adding rescue for sms template