config loading bug fixed