add fix changes made to tags (account for anchor tag insert)