bug fix in kernel, count class was incorrectly checked