Clean some parameters setting.