fixed some date errors