fixed some date formatting