fix for warnings produced by CounterStats refactor