fix for custom plugin reading