patching nil