patch up arguments