avoid a haddock crash