fix ghc warnings
fix hlint warnings