remove duplicate parameters.