remove extraneous args from cache command