cleanup plugin.py