Clean up tags.