Fix: DB error in error checker