fix nodes2string()