Fix obsolete variable being used.