fixing counter v1.384