Fixed crashing when the config file is empty