clean poor haskell file