fix path and osx defaults