haskell fix, path safety.