fixing sms sending bug