Fix for plugin manager