change str2bool(), spedup is_uint()