fixed directory for osx