Fixed settings placeholder
Cleaned up code