codegen: create switch to unbox vector; not working