validate link