Fix saving haskell code