format and remove useless params
format and remove useless params