replace main package with search package