patch for delta time