actually fixed database settings