fixed pkg install/remove