fixed bug in settings.py