fixed copying- need to deal with instance array duplication between pathnode and geomnode
fixed instance inheritance problem