fix right click on tab