corrections to settings.py