fixing 0.6.5 upgrade errors in packages
now runs with 0.6.5.1