Fix time error