Fix active for index