message generation fixes to avoid picking up older versions of packages.