Fix sms sending errors