tab active bug fix