Fixed 0-d array problem