Fix variable name for #buy replacement