fixing counter v1.26