fix tag closing