fixing some package problems