patch for startdate bug