fix the loading of the plugin