fixed setter not to put data into arrays.