fix broken fetch() on infinite mode