Initializing the settings to avoid NRE