fix analysis default active tab
fix tournament repo leader query