fix cabal warning