fixing package problems