remove duplicate get snippet