bugfix of a previous commit (wrong var name)