correct val type in get_string_field