fix bug: notEmpty validator would occur error when use 0 as number value or use false as boolean value