fix stats page when no stats