Fix click tabs issue