fixing configs for database