fix timeDiff