remove the tag arrays