remove bug in DbConnection and  remove bug in DbLogger