Fix broken referencies