Fix: some errors arround settings.py