Fix error control.