optimization done for tag section