corrected obsolete variable, this fixes #9