fixed potential bug with index being passed through as key for standard arrays