fix tag closure