fix path resolution for #24