fixed missing counter