added links checking