tweaks for plugin