fixed Appkernel Error