fix shorten path