fix the plugin