correct the time