fix partial tags.