fixed the date save