Fix sms api usage