Fix typo in get snippet.