- fix saving date objects