trying to fix osx problem