fix stats order bug