bugfix on struct save, recursive pointrs save fix