fixed sms encoding errors