Fix a problem in sending sms notification.