delete useless arguments