Fixed code with html tables.