handle 0 value for replacementDelay