fixed issue with bare path resolution