fix build package index