ECMS-4304 correct the method processPlugin