fixes at the plugin-load and reload system