fix snippet ios