added keyid to main index import