fixed date formatting.