added node tree copy function , fixed numbers parsing