fix tag type