trimming arguments for OSX compat