Fix variable name (closes #729)