Fix dbconnect