fix warnings from 'hidden' test (issue #265)