fix event show page error with edit