changed dates to show correctly