Fix undefined parameter issue

Signed-off-by: Valérian Saliou <valerian@valeriansaliou.name>