Fix reference file