add gard if no uri in a href