resolved a problem caused by encoding
normalizeTags() finished