remove haskell-mode and add version check