wrap generator : minor correction

- setter was not working in general.
  name variable error.