fixed ->_itemAttributes being cleared regardless of parameter setting
Merge pull request #15 from angelxmoreno/fix_clear

fixed ->_itemAttributes being cleared regardless of parameter setting