Fix 0 value issue

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>