Bug fix, bad variable name replacement
Bug fix, bad variable name replacement