correct time difference