get current kernel