fixed relative path resolution and behaviors