fixed up hiding of tabs