fixing alias issues in package namespace uninstall