Fix incorrect $refs