Fix plugin startup