another array bugfix