fixes #488

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