修复patch错误