fix snippet cnt