fixed crash when accessing uninstalled plugins