fixup issue 766