fix patch file