fixed up problem with end durations and packet durations.