More fixing Kernel calculation