fix inheritance of context pathIds