Fixed mistakes in edit event form.