fix insert plugin events;