clean up all the tags before rebuilding