fixed demo not accepting zero values (thx @belgianwolfie on fire)