Fix for bad variable name that would result in invalid memory refs