fixed haddock syntax