fixing filterPlugins function, updating version