Two code nitpicks

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>