corrects the td of the table