Variable name fixed (fixes #5).
Update for version 8.