fix only attempt to smoosh if src/href exists