array of views rendering fix