fixed rest of node api