fix incorrect category item count