fix timestamps used for ratecontrol