added activeTab to perms