fix is_positive_number in validator