remove non needed kernels