use index -2 to get package name info

use index -2 to get package name info