fixed DB connection