Fix error in sending sms