fix visual + operational bugs in pkgman