simpler path resolution