fix removing tabContent where tab = 1