Fix the active tabs