removing useless parameters.