reproduce issue #166