shorten paths