fix some package issues