minor fixes (loadplugin should be working again)