fixed error with sms