clean snippet