[changed] a bit of changes in loading plugins