fix the tag field