fixing multiple multitabs bug