Fixes unmatched closing div