fixed negative shift time on replicate