fixing counter v1.45