null check

null check on links