Fix badly closed div