fix bug where policy tab is always shown first