fix OOIION-1318

https://jira.oceanobservatories.org/tasks/browse/OOIION-1318

@edwardhunter please review
@jamie-cyber1 please review