fixed the tables up