fix haddock docs