make it work on osx