patching for installation