cleans up methods in importer.go