Fix reference formatting