fixed an issue with cloning dates.