[bugfix] next() must return