removed old code from plugin manager