patch support for array indexes