fixes #1529
Merge pull request #1541 from aodn/issue-1529

fixes #1529