fix cigar element offset processing