swap optimizely replay to use next tick