correcting managePlugins