fix DB Connection