Fix overwrite of parmdb