fixed the issues with plugins