Bug Fix with creating nodes using []