Fixed error in plugin_base