removed conditional preventing plugin from being reinitialized