little fix for optimized dediplugin