plugin system partly working