Fixed a bug in send sms