adapt imports to changes in fregec