not null check for link