path resolution performance improvement