fix array inheriting class attributes
Merge pull request #144 from bogdanRada/master

fix array inheriting class attributes