Fix reference models