Plugin manager bugfix