path resolution improvement