shorten snippet