fix for packages