fix the bug in DB handler