fix'ed path resolution