fix snippet duplications