fix the bug of db table