bugfix path resolution