fix load_config