remove useless params