bugfix in settings.py