remove unneeded kernels