prevents writing a tag if there's no source