fixing some issues in the settings.py file