osx changes, remove unnecessary