fix a mysql error which popped up in the dbfail log