only add href if there is a valid link