fixing importer connection end for better generalization