Fix sms sending issue