remove of extraneous parameters