issue #1068 fix bug introduced bu 6bb2b26: undefined "metadata" symbol