Fix active tabs