Fixed crashing with no config file