Fix `0` bug and there is still a bug.

Signed-off-by: acgtyrant <acgtyrant@gmail.com>