clean move findByClass to kernel