Fix attribute table.