Fix table row number not correct.