buggy tab management