fix arguments on osx