Fixed path lookup.

closes #229