fix loadAll() for pluginmanager