fixes load_config