fix node mapping