logic typo. '0' is false.