itemCount fix