handle scenario where no href exists