corrects time