fix weird time editing error