fix --uninstall invocation