struct PathElement is removed