eventDate save function fix