better result table extraction