fix all tables