fix: missing rest_init(s) to actually intialize state