added a few probably-fixes for osx