fixed bug when <th> tag was not defined