fix bug with uninstalled services