Correcting the link of the events