debug the sms sending
Fix bug with multiple messages