Fix path resolution