trying to fix osx macro problem