fixing pyro plugin