fixes part one of http://jira.oceanobservatories.org/tasks/browse/OOIION...

fixes part one of jira issue 
http://jira.oceanobservatories.org/tasks/browse/OOIION-1525