support passing in current path
minor