rework path lookup