fixing save event (dates and so stuff)