fix the importer (if deg=2 also check for not being a loop)