fix path resolution
Merge pull request #3 from aj-self/use_path_resolve

fix path resolution