+ bugfix on attribute setting for model