fix bugs for injecting with &sections=1.
follow simpler redirs if injecting.