fix the bug that not complete use single module in the db class