fixed error "time_offset is not integer"