fixed database connectivity
fixed database connectivity again