Corrections on all the database connections