Error correcting for time advance