check if link is null