weird counter bug