bugfix arrays of structured types