get rid of internal cell array