Fixes settings.py