Fix config file not initialized properly