wrapped command to avoid errors for uninstalled objects