address regression reported in #1846