refactor send to sms zones code to fix known bugs