fix insert time bug