fixing counter v1.3897