remove api references in tag