fix active tab