Minor correction to invalid variable reference