fixed missed variable rename for #868