fixed adding/removing component tab