cleanup of settings.py