fix for plugins