clean up haskell stuff