fixing counter v1.41