Update editZeroSection to be compatible with 1.21