fixed null pointer when have no config settings saved yet