bug fix for test sms