fix some settings issues
Fix local.py settings