Error with design Tab after a couple of saves

I have managed to fix it by dropping the table baseTemplate_cyberpanelcosmetic
and then make an upgrade to cyberpanel to regenerate the table.

this fixed the problem.