removes unneeded plugins