NXP-14013: fix invalid array capacitiy init, set default index to nuxeo instead of nxmain