Fixing closing tags. This importer is a bit rubbish