fix not imported in lib/plugin.py