fix: realloc an upstream struct