Fixing problems with packages