reuse old tag parsing