patch db error log bug