warnings from ghc-7.8.1 removed