fix sms errors