normalizing tables