Changed order of section patching