tweaks path resolution