fix the import codes