still debugging the plugin problems