fix get package option bug