fix active state in header