statistics page fixes