remove Kernel dependencies