fixing plugin

hopefully fixed a problem with the plug-in