version rev
add path.resolve to fix #9