fixed activeLink bug