fix error # solve part of statitics