links corrected in pattern-index