penta: github issue #985