Bug fixing the plugin managers