fixes the table