fixed import_data and get_objects