bug in load_provider