Fix import_metadata feature