found out that the edges in master_dict didn't correspond to the site/bridge. fixed that