fixed some package problems