bugfix - array index cannot be String