fix custom event