fixed warning and cabal file