shorten the path in find