Fix broken references