Fix references