changed translator to properly parse html tables