style improvements on statistics