get package index