fixed time errors