fix matching of reference to citation group