fixing counter v1.381