fixing link binding to edit an event