fix active link checking