fix for plugin