fixing misc tab-related issues