fixed already registered plugins error