Remove redundant snippet