Invalid variable

This change fixes a reference to an invalid variable.