Fix some bad parameters.