Fix plugin extension case