fixing counter v1.36