reduce the amount of tag copying in various functions
don't deepcopy tags when inserting them into a tag section