clean up stats and category filtering a bit