[minor] allow path to be passed for resolving