fix path lookup