working on ghc-mod error