debugging of package count
fix for package difference computation
--amend