invert path name argument