id correction createArray