use plural table name for array in index template