correction getNextFreeTime()