shorten path