fixed mapping number->unit nodes

issue #1011