Fix messages functions for sms
Merge pull request #449 from owdqa/bug/fix_sms_v2.0

Fix messages functions for sms