roll back previous change because it does not work on OSX