Fix plugin edit