fix cabal and parser