handle reference skips in cigar string