fixed database connection display