manage integer and boolean type for TVL