mapreduce codes can now run on OSX using parallel without error