Fixed the stop at haskell