why realloc if we're not going to use the data. also fix up some operand lengths