remove osx functions