Fix plugin delete