fix markup of tables, part 1