Fix the DBConnection

I try to fix the DBConnection