remove snippet functionality