fixed: no link if a site-resource has id=0