fixed displaying active tab