fixed adding/removing component tab
fixed adding/removing component tab