Thanks.
But flatten does not exist in the UI.
I tested with adding an option flatten => false from UI.
But it does not work.
Metabox is a nightmare for me.
Nothing is well explained in the doc.
I switched to ACF, and do the job in one hour instead of debugging the code for one month.
I lost $49.