fixed issues with homepage not showing stats data