Fixed set statstics error
Fixed statistics error