fixing counter overflow