changed how data is sent to EventForm