BasePlugin: fixed #209