fix double active tabs