fix DBConnection