Fixed patching issue