fix app kernel