remove duplication of tag definition by abusing CPP