cleanup the monkey patching