credit counter debug