fix warnings for cabal install --ghc-options="-Wall -fforce-recomp -Werror"