fixed kernel again