fixed time and location errors