clean up patcher