variable scope fix
Merge branch 'master' of github.com:ooici/coi-services