fix some date stuff.