Fix the bug of no explict colspan of th element in the thead