fix
fix the bug, when do not use db