add mid for candidates in statistics