fixed references to hardcoded db connection