fixing counter v1.23