fixed issue of ghc