tag closings fix