fix OOIION-1584

https://jira.oceanobservatories.org/tasks/browse/OOIION-1584

@edwardhunter  please review