fix an error with NextOwner

Signed-off-by: Florian <Florian.guilleminot@gmail.com>