Fixed issue with date.