minor fixes for date format