fix load_paths error