remove commented lines from AppKernel