fix in plugin manager that only allowed one plugin of each type