avoid issue #345