bug fixes + change field named type to type_value in order to support c_tools
update theme for value_type
test updated