fix useless params