improvements on k4importer