fix up nodes