Fixing closing tags