Bootstraped value_set type

Please open a scope, like:
```C
if (!s) {
    return NULL;
}
```