Fix html table structure