Fix a bug on the management of the array object