fix time vector.