add method to support hide segment of path