link active state fix