remove useless snippet