fix error count in dbf