fix time error