fix load_dependency