fix weird time error