Fixed AppKernel mistake