fix for upgrading cmdcfg table