avoid uselessly deep-copying tags