clean up html table markup