fix node spec runner bug introduced on last commit