removing haddock errors