fixed menores bug, saving without date failed