osx fixups