normalize the table