fix error on element count of kmqueue