patching with command fixes