fix bugs
sale order statistic