fixed the plugin