fix issue with importer

added check if instance of domeelement