fixed incorrect calls to dbconnect