delete useless parameters