fixing some patching errors