fixed deadlock in starting up without a config file