fix OSX path load issues