fixing counter v1.388